package twentytwo.command.homework;

public class DocumentCommand implements Command{
    Document document;

    public DocumentCommand(Document document) {
        this.document = document;
    }

    @Override
    public void execute() {
        document.showText();
    }
}
